<if $_L['APP']['info'] && L_NAME != "login">
    <template "ui/head" />
    <script type="text/javascript">if(self!=top&&parent.document.getElementById("APPNAV")){document.write('<style>#APPNAV,#APPTAB,#LFOOT {display:none !important;}#APPIFRAME{margin:0;padding:0 !important;height:100%;background:#ffffff;}</style>')};</script>
    <else />
    <php>ob_clean();</php>
    <!DOCTYPE html>
    <html>
    <head>
        <title>请求结果</title>
        <meta name="renderer" content="webkit" />
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <meta name="referrer" content="no-referrer-when-downgrade" />
        <meta name="format-detection" content="telephone=no" />
        <meta name="framework" content="55uY5LyBwq5QSFDlvIDlj5HmoYbmnrY" />
        <if $_L['url']['scheme']=="https://">
            <if in_string($_SERVER['HTTP_USER_AGENT'], "firefox")>
                <meta http-equiv="X-Content-Security-Policy" content="upgrade-insecure-requests" />
                <else/>
                <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
            </if>
        </if>
        <link rel="shortcut icon" href="" />
        <link rel="stylesheet" href="/public/static/layui/css/layui.css?lcmsver={{$_L['config']['ver']}}" />
        <link rel="stylesheet" href="/public/ui/admin/static/style.css?lcmsver={{$_L['config']['ver']}}" />
    </head>
    <body style="background:#ffffff;">
</if>
<style type="text/css">@font-face {font-family:LCMSX-FONT;src:url(/public/static/fonts/X.woff2?lcmsver={{$_L['config']['ver']}})format('woff2')}.LCMSX-FONT{font-family:LCMSX-FONT;user-select:none}body,html{overflow:hidden!important}.LCMSX{display:flex;align-items:center;justify-content:center;text-align:center;position:relative;box-sizing:border-box;opacity:0}.LCMSX .icon{margin:0 auto;width:150px;height:150px}.LCMSX .icon img{display:block;width:100%;height:100%;user-select:none}.LCMSX .icon sup{position:absolute;height:24px;line-height:24px;padding:0 5px;top:auto;bottom:0;left:80%;font-size:16px;background:#606266;word-break:keep-all;color:#fff;border-radius:5px;cursor:default}.LCMSX .title{box-sizing:border-box;color:#303133;font-size:30px;line-height:36px;padding-top:10px}.LCMSX .msg{color:#909399;font-size:14px;line-height:1.5;padding:10px 20px;max-width:400px;margin:0 auto;word-break:break-all}.LCMSX .msg a{color:#f56c6c;text-decoration:underline}.LCMSX .msg a:hover{color:#d62020}.LCMSX .msg img{max-width:100%}.layui-btn-group{margin:50px 0 30px 0}@media screen and (max-width:768px){.LCMSX .icon{width:100px;height:100px}.LCMSX .title{line-height:28px;font-size:24px}.LCMSX .icon sup{height:20px;line-height:20px;font-size:12px}.layui-btn-group{margin:20px 0 20px 0}}</style>
<div class="LCMSX">
    <div>
        <div class="icon">
            <if $X['title']=="ERROR">
                <img src="/public/static/images/X.svg"/>
                <else />
                <img src="/public/static/images/Y.svg"/>
            </if>
            <sup class="LCMSX-FONT">{{$X['code']}}</sup>
        </div>
        <p class="title LCMSX-FONT">{{$X['title']}}</p>
        <div class="msg">
            {{$X['msg']}}
        </div>
        <if $go>
            <if is_array($go)>
                <div class="layui-btn-group">
                    <loop $go,$btn>
                        <a class="layui-btn layui-btn-{{$btn['color']?:''}}" href="{{$btn['url']}}" target="{{$btn['target']?:'_self'}}" onclick="{{$btn['target']=='_blank'?'':'showLoad()'}}">
                            {{$btn['title']}}
                        </a>
                    </loop>
                </div>
                <elseif ($go=="close" )>
                    <script type="text/javascript">
                        setTimeout(function () {
                            window.opener = null;
                            window.close();
                        }, 2000);
                    </script>
                </elseif>
                <else>
                    <p style="font-size:12px;color:#909399;">
                        即将跳转
                        <span id="lasttime">3s</span>
                    </p>
                </else>
            </if>
        </if>
        <div id="loading" style="display:none;position:fixed;width:100%;height:100%;top:0;left:0;background:rgb(255 255 255 / 30%)">
            <i class="layui-icon layui-icon-loading-1 layui-anim layui-anim-rotate layui-anim-loop" style="position:absolute;font-size:30px;top:50%;left:50%;margin:-20px 0 0 -20px"></i>
        </div>
    </div>
</div>
<script type="text/javascript">var html=document.getElementById("lasttime"),second=3,showLoad=function(){var loading=document.getElementById("loading");loading.style.display="block"};if(html!=null){var lasttime=setInterval(function(){second=second-1;if(second<=0){clearInterval(lasttime);window.location.href="{{$go}}"}else{html.innerHTML=second+"s"}},1000)}var LCMSX=document.getElementsByClassName("LCMSX")[0],TAB=document.getElementById("APPTAB"),Xh=LCMSX.offsetHeight,Fh=140,Pt=70;if(TAB){(Fh=200),(Pt=100)}try{if(document.body.offsetWidth<992&&!parent.document.getElementById("LCMS")){(Fh=40),(Pt=20)}}catch(e){}if(!document.getElementById("APPIFRAME")){(Fh=0),(Pt=0)}LCMSX.style.height="calc(100vh - "+Fh+"px)";LCMSX.style.opacity=1;</script>
<if $_L['APP']['info']>
    <template "ui/foot" />
    <else />
    {{$_L['config']['web']['tongji']}}
    </body>
    </html>
</if>